import java.util.Scanner;
public class Example6 {
	public static void main(String[] args) {
		int score,badcount=0;
		int count = 0;
		int sum = 0;
		double jigelv=0;
		double avg;
		Scanner sc = new Scanner(System.in);
		do{
			score = sc.nextInt();
			sum += score;
			count++;
			if(score<60) {
				badcount++;
			
			}
		}while(score > 0) ;
		sc.close();
		avg = sum * 1.0 / count;
		int jigenum = count-badcount;
		jigelv = jigenum * 1.0 /count;
		System.out.printf("平均分为%.2f", avg);
		System.out.printf("及格率为%.2f", jigelv);

	}

}
